package com.synergy.stockflow.procure.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.synergy.stockflow.procure.entity.InboundDetails;
import com.synergy.stockflow.procure.mapper.InboundDetailsMapper;
import com.synergy.stockflow.procure.service.InboundDetailsService;
@Service
public class InboundDetailsServiceImpl extends ServiceImpl<InboundDetailsMapper, InboundDetails> implements InboundDetailsService{

    @Override
    public InboundDetails selectWhere(String inboundDetailsPurchaseDetailsId) {
        InboundDetails inboundDetails = baseMapper.selectWhere(inboundDetailsPurchaseDetailsId);
        return inboundDetails;
    }

    @Override
    public int deleteinboundDetailsArrivalId(String inboundDetailsArrivalId) {
        baseMapper.deleteinboundDetailsArrivalId(inboundDetailsArrivalId);
        return 0;
    }

    @Override
    public InboundDetails selectId(String inboundDetailsId) {
        InboundDetails inboundDetails = baseMapper.selectId(inboundDetailsId);
        return inboundDetails;
    }

    @Override
    public InboundDetails tongji(String inboundDetailsPurchaseDetailsId) {
        InboundDetails tongji = baseMapper.tongji(inboundDetailsPurchaseDetailsId);
        return tongji;
    }
}
